package cn.hx.mallBlog.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 话题表(CmsTopic)实体类
 *
 * @author makejava
 * @since 2022-11-30 15:36:09
 */
public class CmsTopic implements Serializable {
    private static final long serialVersionUID = -67050856077581373L;

    private Integer id;

    private Integer categoryId;

    private String name;

    private Date createTime;

    private Date startTime;

    private Date endTime;

    private Date lookTime;
    /**
     * 参与人数
     */
    private Integer attendCount;
    /**
     * 关注人数
     */
    private Integer attentionCount;

    private Integer readCount;
    /**
     * 图片名称
     */
    private String awardName;
    /**
     * 参与方式
     */
    private String attendType;
    /**
     * 话题内容
     */
    private String content;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getAttendCount() {
        return attendCount;
    }

    public void setAttendCount(Integer attendCount) {
        this.attendCount = attendCount;
    }

    public Integer getAttentionCount() {
        return attentionCount;
    }

    public void setAttentionCount(Integer attentionCount) {
        this.attentionCount = attentionCount;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public String getAwardName() {
        return awardName;
    }

    public void setAwardName(String awardName) {
        this.awardName = awardName;
    }

    public String getAttendType() {
        return attendType;
    }

    public void setAttendType(String attendType) {
        this.attendType = attendType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getLookTime() {
        return lookTime;
    }

    public void setLookTime(Date lookTime) {
        this.lookTime = lookTime;
    }

    @Override
    public String toString() {
        return "CmsTopic{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", name='" + name + '\'' +
                ", createTime=" + createTime +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", lookTime=" + lookTime +
                ", attendCount=" + attendCount +
                ", attentionCount=" + attentionCount +
                ", readCount=" + readCount +
                ", awardName='" + awardName + '\'' +
                ", attendType='" + attendType + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}